<template>
    <ul>
        <li v-for="(item,index) in filelist" :key="index">
            {{item.dirname?item.dirname:item.filename}}
            <test v-if="item.children" :filelist="item.children"></test>
        </li>
    </ul>
</template>
<script>
export default {
    name:'test',
    props:['filelist']
}
</script>
